﻿//暂不使用，本类将被整合到SetTurnTableAndThermostatDialog中
#pragma once

#include <QDialog>
#include "ui_SetRateModeDialogUi.h"


class SetRateModeDialog : public QDialog
{
	Q_OBJECT

private:
	Ui_SetRateModeDialog ui;
public:
	explicit SetRateModeDialog(QWidget* parent = Q_NULLPTR);
	virtual ~SetRateModeDialog();

public slots:
	int exec() override;
	void accept() override;
public:
	float getRate();
	float getAcceleration();
public:
	int getAccuracy();
	void setAccuracy(int accuracy);
	float getTurnTableRateUpperLimit();
	void setTurnTableRateUpperLimit(float turnTableRateUpperLimit);
	float getTurnTableRateLowerLimit();
	void setTurnTableRateLowerLimit(float turnTableRateLowerLimit);
	float getTurnTableAccelerationUpperLimit();
	void setTurnTableAccelerationUpperLimit(float  turnTableAccelerationUpperLimit);
	float getTurnTableAccelerationLowerLimit();
	void setTurnTableAccelerationLowerLimit(float turnTableAccelerationLowerLimit);
};
